package org.particles.domain;

import org.particles.common.CommonUtil;

/**
 * represents statistic value to a double values (average, min, max).
 * statistic consist of statistic items.
 */
public class StatisticItem {
	public static final int STAT_AVG = CommonUtil.uniqueIndex();
	public static final int STAT_MIN = CommonUtil.uniqueIndex();
	public static final int STAT_MAX = CommonUtil.uniqueIndex();
	private double average;
	private double min;
	private double max;
	
	public StatisticItem(
			final double average, 
			final double min, 
			final double max) {
		this.average = average;
		this.min = min;
		this.max = max;
	}
	
	public double getAverage() {
		return average;
	}
	public void setAverage(double average) {
		this.average = average;
	}
	public double getMin() {
		return min;
	}
	public void setMin(double min) {
		this.min = min;
	}
	public double getMax() {
		return max;
	}
	public void setMax(double max) {
		this.max = max;
	}
}
